export const searchConfig = {
	inline: true,
	showBtn: true,
	labelPosition: 'left',
	column: [
		{
			label: '数据所属区',
			prop: 'area',
			type: 'input',
			span: 6,
		},
		{
			label: '年份',
			prop: 'belongYear',
			type: 'year',
			valueFormat: 'YYYY',
			span: 6,
		},
		{
			label: '时间',
			prop: 'time',
			type: 'input',
			span: 6,
		},
	],
}

export const searchErrorConfig = {
	inline: true,
	showBtn: true,
	labelPosition: 'left',
	column: [
		{
			label: '年份',
			prop: 'belongYear',
			type: 'year',
			valueFormat: 'YYYY',
			span: 6,
		},
		{
			label: '时间',
			prop: 'time',
			type: 'input',
			span: 6,
		},
	],
}

export const timeOptions = [
	{
		label: '上半年',
		value: 1,
		children: [
			{
				label: '第一季度',
				value: 1,
				children: [
					{
						label: '1月',
						value: 1,
					},
					{
						label: '2月',
						value: 2,
					},
					{
						label: '3月',
						value: 3,
					},
				],
			},
			{
				label: '第二季度',
				value: 2,
				children: [
					{
						label: '4月',
						value: 4,
					},
					{
						label: '5月',
						value: 5,
					},
					{
						label: '6月',
						value: 6,
					},
				],
			},
		],
	},
	{
		label: '下半年',
		value: 2,
		children: [
			{
				label: '第三季度',
				value: 3,
				children: [
					{
						label: '7月',
						value: 7,
					},
					{
						label: '8月',
						value: 8,
					},
					{
						label: '9月',
						value: 9,
					},
				],
			},
			{
				label: '第四季度',
				value: 4,
				children: [
					{
						label: '10月',
						value: 10,
					},
					{
						label: '11月',
						value: 11,
					},
					{
						label: '12月',
						value: 12,
					},
				],
			},
		],
	},
]
